how to create a resource library